package com.wmh.baseservice.skd.mapper;

import com.wmh.baseservice.skd.pojo.SkdBrowsingHistory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author CH
* @description 针对表【skd_browsing_history】的数据库操作Mapper
* @createDate 2024-01-23 11:09:15
* @Entity com.wmh.baseservice.skd.pojo.SkdBrowsingHistory
*/
public interface SkdBrowsingHistoryMapper extends BaseMapper<SkdBrowsingHistory> {

    @Select("SELECT group_buying_activity_id, create_time FROM skd_browsing_history WHERE user_id = #{usId} AND deleted = 0")
    List<SkdBrowsingHistory> getByUserId(Long usId);
}




